package com.sun.showcase;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableDiscoveryClient
@SpringBootApplication
//@EnableScheduling
//@EnableAsync
//@ServletComponentScan
public class QuartzApplication {

	public static void main(String[] args) {
//		System.setProperty("es.set.netty.runtime.available.processors", "false");
		SpringApplication.run(QuartzApplication.class, args);
	}
//
//	@Bean
//	public MyServletContextListener profileAdminListener() {
//		return new MyServletContextListener();
//	}

}
